import { createApp } from "vue"
import App from './App.vue'
import router from './router'
// 导入 pinia 实例
import pinia from './stores'

import "swiper/css"; // Swiper 样式
import "swiper/css/navigation"; // 导航样式
import "swiper/css/pagination"; // 分页样式

import 'vant/lib/index.css'; // 导入样式
import { Toast } from 'vant'; // 按需引入组件

const app = createApp(App)
app.use(router)
app.use(Toast);
// 使用 pinia
app.use(pinia)
app.mount("#app")

console.log("init app")